<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
    <style>
        /*默认会有margin: 8px*/
        a,h2,h1,li,ul,body{
            margin: 0;
            padding: 0;
            text-decoration: none;
        }
        #app{
            border: aqua 1px solid;
            width: 300px;
            margin: auto;
        }
        form{
            background: cornflowerblue;
        }
        form:nth-of-type(1) input{
            border: 2px solid red;
        }
        h2{
            line-height: 30px;
            font-size: 17px;
            background-color: #0093E9;
            text-align: center;
            color: white;
        }
    </style>
</head>
<body>
<div id="app">
    <h2>会员登录</h2>
    <form action="index.html" method="get">
        <div>
            <span>用户名：</span>
            <span><input type="text" name="name"></span>
        </div>
        <div>
            <span>密码：</span>
            <span><input type="password" name="password"></span>
        </div>
        <div>
            <span><input type="submit"></span>
            <span><input type="reset"></span>
        </div>
    </form>
</div>
</body>
</html>